/**
 * 
 */
package com.googlecode.agiletools.dailystandup;

import java.util.Date;

import javax.persistence.Embedded;
import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.Table;

import org.hibernate.annotations.Index;

import com.googlecode.agiletools.pair.Pair;
import com.googlecode.agiletools.type.BaseObject;

/**
 * The meeting minutes of an daily stand-up meeting.
 * 
 * @author Administrator
 * 
 */
@Entity
@Table(name = "agiletools_dailystandup")
public class DailyStandup extends BaseObject {

    private static final long serialVersionUID = 7172158715200051308L;

    private Date date;

    private Pair pair;

    private String done;

    private String todo;

    private String problem;

    /**
     * @return the date
     */
    @Index(name = "agiletools_dailystandup_date_index")
    public Date getDate() {
	return date;
    }

    /**
     * @return the done
     */
    @Lob
    public String getDone() {
	return done;
    }

    /**
     * @return the pair
     */
    @Embedded
    public Pair getPair() {
	return pair;
    }

    /**
     * @return the problem
     */
    @Lob
    public String getProblem() {
	return problem;
    }

    /**
     * @return the todo
     */
    @Lob
    public String getTodo() {
	return todo;
    }

    /**
     * @param date
     *            the date to set
     */
    public void setDate(Date date) {
	this.date = date;
    }

    /**
     * @param done
     *            the done to set
     */
    public void setDone(String done) {
	this.done = done;
    }

    /**
     * @param pair
     *            the pair to set
     */
    public void setPair(Pair pair) {
	this.pair = pair;
    }

    /**
     * @param problem
     *            the problem to set
     */
    public void setProblem(String problem) {
	this.problem = problem;
    }

    /**
     * @param todo
     *            the todo to set
     */
    public void setTodo(String todo) {
	this.todo = todo;
    }

}
